<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>微app</title>

		<!-- Bootstrap -->
		<link href="/weiapp/Public/css/bootstrap.min.css" rel="stylesheet">
		<link href="/weiapp/Public/css/weiapply.css" rel="stylesheet">

		<link rel="stylesheet" href="/weiapp/Public/css/menu.css" type="text/css" media="screen">
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
		<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
		<script src="/weiapp/Public/js/jquery-1.11.0.js"></script>
		<!-- Include all compiled plugins (below), or include individual files as needed -->
		<script src="/weiapp/Public/js/bootstrap.min.js"></script>
		<script src="/weiapp/Public/js/weiapp.js"></script>
	</head>
	<body>
		<!-- 头部 -->
		<div id="head-container" class="container-fluid weiapply-header">
		    <img src="/weiapp/Public/img/top_logo.png" />weiapply.cn
<ul class="nav navbar-nav navbar-right public_sd">
        <li class="dropdown">
          <a href="/weiapp/index.php/Home/MemberPublic/nowpub?id=<?php echo ($_SESSION['now_pub']['id']); ?>" class="dropdown-toggle a" data-toggle="dropdown"><?php echo ($_SESSION['now_pub']['public_name']); ?><span class="caret"></span></a>
          <ul class="dropdown-menu menu_color" role="menu">
            <?php if(is_array($menu_p_list)): $i = 0; $__LIST__ = $menu_p_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu_p_list): $mod = ($i % 2 );++$i; if($menu_p_list['id'] != $_SESSION['now_pub']['id']): ?><li><a href="/weiapp/index.php/Home/MemberPublic/nowpub?id=<?php echo ($menu_p_list['id']); ?>"><?php echo ($menu_p_list['public_name']); ?></a></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
          </ul>
        </li>
</ul>
<ul class="nav navbar-nav navbar-right sd">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle a" data-toggle="dropdown"><?php echo ($_SESSION['member']['email']); ?><span class="caret"></span></a>
          <ul class="dropdown-menu menu_color" role="menu">
            <li><a href="#">修改密码</a></li>
            <li><a href="/weiapp/index.php/Home/Public/logout">退出</a></li>
          </ul>
        </li>
</ul>

		</div>
		<!-- /头部 -->

		<!-- 主体 -->
		<div id="main-container" class="container-fluid">
			<div class="row main-content">
				<!-- 左菜单 -->
				<div class="col-xs-5 col-sm-4 col-md-3 col-lg-2 menu">
					<ul id="nav" style="margin:10px auto 0 auto;">
    <?php if(is_array($public_menu_c_lists)): $i = 0; $__LIST__ = $public_menu_c_lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$p_m): $mod = ($i % 2 );++$i;?><li>
		<a href="#" class="sub" tabindex="1">
			<span class="caret"></span>&nbsp;<?php echo ($p_m["name"]); ?>
		</a>
		<ul>
		<?php if(is_array($p_m["item"])): $i = 0; $__LIST__ = $p_m["item"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li>
				<a href="<?php echo ($item["url"]); ?>?public_id=<?php echo ($_SESSION['now_pub']['public_id']); ?>">
					<?php echo ($item["name"]); ?>
				</a>
			</li><?php endforeach; endif; else: echo "" ;endif; ?>
		</ul>
	</li><?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
				</div>
				<!-- /左菜单 -->
				<!-- 内容主体 -->
				<div class="col-xs-7 col-sm-8 col-md-9 col-lg-10 content">
			    	
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 main-body">
		<ul>
			<li class="m_p" style="float:left;"><span class="glyphicon glyphicon-th"></span>关注回复配置</li>
		</ul>
</div>
<div class="subscribe_nav container-fluid">
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a href="#" onclick="select_type('.wenben','.tupian','.yinyue','.shiping','.yuying','.tuwen')">文   本</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.tupian','.wenben','.yinyue','.shiping','.yuying','.tuwen')">图   片</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.yuying','.tupian','.wenben','.shiping','.yinyue','.tuwen')">语   音</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.shiping','.tupian','.yinyue','.wenben','.yuying','.tuwen')">视   频</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.yinyue','.tupian','.shiping','.wenben','.yuying','.tuwen')">音   乐</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.tuwen','.tupian','.yinyue','.shiping','.yuying','.wenben')">图   文</a></li>
</ul>
<div class="container-fluid subscribe_info">
<div class="text-danger bg-danger col-xs-12 col-sm-12 col-md-12 col-lg-12 ts">
公众号在使用接口时，对多媒体文件、多媒体消息的获取和调用等操作，是通过media_id来进行的。通过本接口，公众号可以上传或下载多媒体文件。
但请注意，每个多媒体文件（media_id）会在上传、用户发送到微信服务器3天后自动删除，以节省服务器资源。
因此本系统会在3天内自动上传你设置的文件，保证你的信息完整性。
</div>
</div>
</div>
<div class="container-fluid subscribe_content">
   <div class="wenben">
      <form class="form-horizontal" action="/weiapp/index.php/Home/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 内容: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="<?php echo ($_SESSION['now_pub']['public_id']); ?>">
          <input type="hidden" name="msgtype" value="text">
          <input type="text" name="content" class="form-control">
          <span class="help-block">
              请输入你需要回复的文本内容，如需换行请输入"\n"。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="tupian" style="display: none;">
      <form class="form-horizontal" action="/weiapp/index.php/Home/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 请选择图片: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="<?php echo ($_SESSION['now_pub']['public_id']); ?>">
          <input type="hidden" name="msgtype" value="image">
          <input type="file" name="file" class="form-control">
          <span class="help-block">
              请输入你需要图片（支持JPG格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="yuying" style="display: none;">
      <form class="form-horizontal" action="/weiapp/index.php/Home/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 请选择音乐文件: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="<?php echo ($_SESSION['now_pub']['public_id']); ?>">
          <input type="hidden" name="msgtype" value="voice">
          <input type="file" name="file" class="form-control">
          <span class="help-block">
              请输入你需要音乐文件（支持AMR\MP3格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="shiping" style="display: none;">
      <form class="form-horizontal" action="/weiapp/index.php/Home/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 请选择视频文件: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="<?php echo ($_SESSION['now_pub']['public_id']); ?>">
          <input type="hidden" name="msgtype" value="video">
          <input type="file" name="file" class="form-control">
          <span class="help-block">
              请输入你需要视频文件（支持MP4格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="yinyue" style="display: none;">
      <form class="form-horizontal" action="/weiapp/index.php/Home/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="<?php echo ($_SESSION['now_pub']['public_id']); ?>">
          <input type="hidden" name="msgtype" value="thumb">
           <div class="col-sm-12">
          <label class="item-label"> 请输入音乐标题: </label>
          </div>
          <input type="text" name="title" class="form-control"><br/>
          <label class="item-label"> 请选择音乐描述: </label>
          <input type="text" name="description" class="form-control"><br/>
          <label class="item-label"> 请选择缩略图文件: </label>
          <input type="file" name="file" class="form-control"><br/>
          <label class="item-label"> 请选择音乐文件: </label>
          <input type="file" name="filepath" class="form-control">
          <span class="help-block">
              请输入你需要音乐文件（支持MP3格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="tuwen" style="display: none;">
      <form class="form-horizontal" action="/weiapp/index.php/Home/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="<?php echo ($_SESSION['now_pub']['public_id']); ?>">
          <input type="hidden" name="msgtype" value="news">
           <div class="col-sm-12">
          <label class="item-label"> 请输入图文信息标题: </label>
          </div>
          <input type="text" name="title" class="form-control"><br/>
          <label class="item-label"> 请输入描述: </label>
          <input type="text" name="description" class="form-control"><br/>
          <label class="item-label"> 请选择图片文件: </label>
          <input type="file" name="file" class="form-control"><br/>
          <label class="item-label"> 请输入需要跳转的url: </label>
          <input type="text" name="url" class="form-control"><br/>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
</div>
<br/><br/><br/><br/><br/><br/>

				</div>
				<!-- /内容主体 -->
			</div>
		</div>
		<!-- /主体 -->
	</body>
</html>